package com.abc.dto.request;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

@Data
public class Tool {
    /**
     * 工具类型，包含function或web_search等
     */
    @JSONField(name = "type")
    private String type ="web_search";

    /**
     * 功能相关参数
     */
    @JSONField(name = "function")
    private Object function;

    /**
     * web搜索开关
     */
    @JSONField(name = "web_search")
    private WebSearch webSearch;


}